package com.ankicoo.table.service.impl;

import com.ankicoo.database.service.DataBaseService;
import com.ankicoo.table.entity.ConfTablePO;
import com.ankicoo.table.mapper.ConfTableMapper;
import com.ankicoo.table.service.TableQueryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Description:
 *
 * @author : QCYANG
 * @date : 2022/1/5 17:50
 */
@Service
public class TableQueryServiceImpl implements TableQueryService {
    @Autowired
    private DataBaseService dbService;
    @Autowired
    private ConfTableMapper tableMapper;

    public List<ConfTablePO> findAllTable(){
        return dbService.selectAll(ConfTablePO.class);
    }

}
